
package com.joysuch.wwyt.datadump.biz.convertor;

import cn.zlg.common.datadump.annotation.DataDumpField;
import cn.zlg.common.datadump.convertor.FieldValueConvert;
import org.springframework.stereotype.Component;

@Component
public class IntegerToStringConvertor implements FieldValueConvert<Integer, String> {

    @Override
    public String convert(Object bean, Integer value, DataDumpField dataField) {
        if(value == null) {
            return null;
        }
        return String.valueOf(value);
    }

}
